From c8a96d08a0724e9cfa67dcfd0421e83ef9809fe0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 11 May 2020 12:55:15 -0400 Subject: [PATCH] print-editor: Bring back the menubar This was the one place where we relied on the menubar fallback in GtkApplicationWindow. So turn it on explicitly. --- tests/print-editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/print-editor.c b/tests/print-editor.c index 8b90af1efe..11b8f9b061 100644 --- a/tests/print-editor.c +++ b/tests/print-editor.c @@ -746,6 +746,7 @@ activate (GApplication *app) main_window = gtk_application_window_new (GTK_APPLICATION (app)); gtk_window_set_icon_name (GTK_WINDOW (main_window), "text-editor"); gtk_window_set_default_size (GTK_WINDOW (main_window), 400, 600); + gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (main_window), TRUE); update_title (GTK_WINDOW (main_window)); box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -- 2.30.2